#ifndef GEOMETRY_H
#define GEOMETRY_H

#include <vector>

struct point
{
public:
   double x, y;
   point(double a, double b):
      x(a),
      y(b)
   {}
   point(){};
};

struct polygon
{
private:
   std::vector<point> vertix;
   int n;
   point zero;
   point max;
   int max_index;

public:
   polygon();
   bool in_polygon(point);
   int turn(point);
};

bool operator<(point, point);
bool operator==(point, point);
#endif
